package com.yugu.park.exception;

public class BizException extends RuntimeException {

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
    private int code;
    

    public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public BizException(String message) {
        super(message);
    }

    public BizException(int code, String message) {
        super(message);
        this.code = code;
    }

}